package com.dingwen.treasure.kettle.constant;

/**
 * 定时任务常量
 *
 * @author dingwen
 * @date 2022/05/09
 */
public final class TaskConstant {
    /**
     * 任务 id字段名：用于存储日志关联任务表
     */
    public static final  String TASK_ID = "taskId";

    /**
     * 作业、转换文件全路径
     */
    public static final  String FULL_FILE_NAME = "fullFileName";

    /**
     * 文件类型
     */
    public static final  String FILE_TYPE = "fileType";


    /**
     * 系统生成任务code
     */
    public static final String TASK_CODE_SYSTEM_GENERATE = "systemGenerate";

    /**
     * 系统生成任务code
     */
    public static final String TASK_NAME_SYSTEM_GENERATE = "系统生成任务";

    /**
     * 默认执行任务的Job
     */
    public static final String DEFAULT_EXECUTE_JOB_CLASS = "com.wh.kettle.task.FileExecuteTask";

    /**
     * job name
     */
    public static final  String JOB_NAME = "jobName";

    /**
     * job group name
     */
    public  static final  String JOB_GROUP_NAME = "jobGroupName";

    /**
     * trigger
     */
    public static final  String TRIGGER =  "trigger";

    /**
     * jobStatus
     */
    public static final String JOB_STATUS = "jobStatus";

    /**
     * cronExpression
     */
    public static final String CRON_EXPRESSION = "cronExpression";

    /**
     * consumerTime ： 定时任务开始时间
     */
    public static final String EXECUTE_START_TIME = "executeStartTime";

}
